package com.eastfair.venueservice.dto;

import com.eastfair.venueservice.enumeration.ServiceBookingPayStateEnum;
import com.eastfair.venueservice.enumeration.ServiceBookingReportSpaceStatusEnum;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 实体类
 * 服务预订项
 * </p>
 *
 * @author linan
 * @since 2022-08-05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ServiceBookingPageQuery", description = "服务预订项")
public class ServiceBookingQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 是否启用（确认状态）：1是 已确认；0否 未确认
     */
    @ApiModelProperty(value = "是否启用（确认状态）：1是 已确认；0否 未确认")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 服务项id
     */
    @ApiModelProperty(value = "服务项id")
    private Long serviceItemId;
    /**
     * 服务名称
     */
    @ApiModelProperty(value = "服务名称")
    private String serviceName;
    /**
     * 服务图片
     */
    @ApiModelProperty(value = "服务图片")
    private String picUrl;
    /**
     * 计量单位 字典维护
     */
    @ApiModelProperty(value = "计量单位 字典维护")
    private String calUnit;
    /**
     * 服务单价
     */
    @ApiModelProperty(value = "服务单价")
    private BigDecimal unitPrice;
    /**
     * 附加费
     */
    @ApiModelProperty(value = "附加费")
    private BigDecimal surcharge;
    /**
     * 服务分类id
     */
    @ApiModelProperty(value = "服务分类id")
    private Long serviceCategoryId;
    /**
     * 服务规格id
     */
    @ApiModelProperty(value = "服务规格id")
    private Long serviceSpecsId;
    /**
     * 预订数量
     */
    @ApiModelProperty(value = "预订数量")
    private Long bookingNum;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 审核状态
     */
    @ApiModelProperty(value = "审核状态")
    private String auditState;
    /**
     * 审核意见
     */
    @ApiModelProperty(value = "审核意见")
    private String auditOpinion;
    /**
     * 是否生成订单：1是；0否
     */
    @ApiModelProperty(value = "是否生成订单：1是；0否")
    private Integer generateOrder;
    /**
     * 预订时间
     */
    @ApiModelProperty(value = "预订时间")
    private LocalDateTime bookingTime;
    /**
     * 展会id
     */
    @ApiModelProperty(value = "展会id")
    private Long exhibitionManageId;
    /**
     * 报馆id
     */
    @ApiModelProperty(value = "报馆id")
    private Long reportSpaceId;
    /**
     * 申报系统 字典维护 MENU_AFFILIATION
     */
    @ApiModelProperty(value = "申报系统 字典维护 MENU_AFFILIATION")
    private String declarationSystem;
    /**
     * 服务提供方 字典维护 MENU_AFFILIATION
     */
    @ApiModelProperty(value = "服务提供方 字典维护 MENU_AFFILIATION")
    private String providerSystem;
    /**
     * 折扣
     */
    @ApiModelProperty(value = "折扣")
    private BigDecimal discount;
    /**
     * 业务主体id
     */
    @ApiModelProperty(value = "业务主体id")
    private Long businessId;
    /**
     * 业务主体名称
     */
    @ApiModelProperty(value = "业务主体名称")
    private String businessName;
    /**
     * 展位编码
     */
    @ApiModelProperty(value = "展位编码")
    private String siteCode;
    /**
     * 展厅编码
     */
    @ApiModelProperty(value = "展厅编码")
    private String spaceCode;
    /**
     * 展位名称
     */
    @ApiModelProperty(value = "展位名称")
    private String siteName;
    /**
     * 展厅名称
     */
    @ApiModelProperty(value = "展厅名称")
    private String spaceName;

    /**
     * 向场馆一键报馆号
     */
    @ApiModelProperty(value = "向场馆一键报馆号")
    private String reportVenueSpaceNumber;

    /**
     * 是否已经报馆
     */
    @ApiModelProperty(value = "是否已经报馆 0 否，1是")
    private Integer reportVenueSpaceOrNot;
    /**
     * 支付状态 #{PAYED:已支付;UN_PAY:待支付}
     */
    @ApiModelProperty(value = "支付状态 #{PAYED:已支付;UN_PAY:待支付}")
    private ServiceBookingPayStateEnum payState;
    /**
     * 参展商id
     */
    @ApiModelProperty(value = "参展商id")
    private Long exhibitorId;
    /**
     * 参展商名称
     */
    @ApiModelProperty(value = "参展商名称")
    private String exhibitorName;

    /**
     * 订单编号
     */
    @ApiModelProperty(value = "订单编号")
    private String orderNumber;
    /**
     * 报馆状态 #{NOT_REPORTED:未报馆;REPORTED:已报馆}
     */
    @ApiModelProperty(value = "报馆状态 #{NOT_REPORTED:未报馆;REPORTED:已报馆}")
    private ServiceBookingReportSpaceStatusEnum reportSpaceStatus;

    /**
     * 关键词
     */
    @ApiModelProperty(value = "关键词")
    private String keywords;
}
